﻿using System;

class OddOrEven
{
    static void Main()
    {
        int number;
        bool result;

        Console.WriteLine("Type number to check if it`s odd or even:");
        result = int.TryParse(Console.ReadLine(), out number);

        if (result)
        {
            if (number%2==0)
            {
                Console.WriteLine("Your number is even!");
            }
            else
            {
                Console.WriteLine("Your number is odd!");
            }
        }
        else
        {
            Console.WriteLine("Your input isn`t a number!!!");
        }

    }
}